home *** CD-ROM | disk | FTP | other *** search
/ Practical Algorithms for Image Analysis / Practical Algorithms for Image Analysis.iso / TARFILE.GZ / tarfile / libtiff / contrib / win95 / Makefile.w95 next >
Encoding:
Makefile  |  1999-09-11  |  3.2 KB  |  135 lines

  1. #    $Header: /usr/people/sam/tiff/libtiff/RCS/Makefile.w95,v 1.2 1994/11/28
  2. 06:13:31 sam Exp $
  3. #
  4. # Tag Image File Format Library
  5. #
  6. # Copyright (c) 1988, 1989, 1990, 1991, 1992 Sam Leffler
  7. # Copyright (c) 1991, 1992 Silicon Graphics, Inc.
  8. # Permission to use, copy, modify, distribute, and sell this software and 
  9. # its documentation for any purpose is hereby granted without fee, provided
  10. # that (i) the above copyright notices and this permission notice appear in
  11. # all copies of the software and related documentation, and (ii) the names of
  12. # Sam Leffler and Silicon Graphics may not be used in any advertising or
  13. # publicity relating to the software without the specific, prior written
  14. # permission of Sam Leffler and Silicon Graphics.
  15. # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
  16. # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
  17. # WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
  18. # IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
  19. # ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
  20. # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  21. # WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
  22. # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
  23. # OF THIS SOFTWARE.
  24. #
  25. # This Makefile is for use with microsoft nmake version 1.50 and 
  26. # Microsoft 32-bit C/C++ Compiler 9.00
  27. #
  28. DESTDIR=.
  29. #
  30. IPATH=    -I. 
  31. CONF_LIBRARY=$(NULL)
  32. COPTS=    -Oxa -DBSDTYPES -Zd
  33. CFLAGS=    $(COPTS)  $(CONF_LIBRARY)
  34. #
  35. INCS=    tiff.h tiffio.h
  36. SRCS=    tif_aux.c \
  37.     tif_close.c \
  38.     tif_codec.c \
  39.     tif_compress.c \
  40.     tif_dir.c \
  41.     tif_dirinfo.c \
  42.     tif_dirread.c \
  43.     tif_dirwrite.c \
  44.     tif_dumpmode.c \
  45.     tif_error.c \
  46.     tif_getimage.c \
  47.     tif_jpeg.c \
  48.     tif_flush.c \
  49.     tif_lzw.c \
  50.     tif_next.c \
  51.     tif_open.c \
  52.     tif_packbits.c \
  53.     tif_predict \
  54.     tif_print.c \
  55.     tif_read.c \
  56.     tif_swab.c \
  57.     tif_strip.c \
  58.     tif_thunder.c \
  59.     tif_tile.c \
  60.     tif_version.c \
  61.     tif_warning.c \
  62.     tif_write.c \
  63.     tif_win32.c 
  64.         
  65.     
  66. OBJS=    tif_aux.obj \
  67.     tif_close.obj \
  68.     tif_codec.obj \
  69.     tif_compress.obj \
  70.     tif_dir.obj \
  71.     tif_dirinfo.obj \
  72.     tif_dirread.obj \
  73.     tif_dirwrite.obj \
  74.     tif_dumpmode.obj \
  75.     tif_error.obj \
  76.     tif_getimage.obj \
  77.     tif_jpeg.obj \
  78.     tif_flush.obj \
  79.     tif_lzw.obj \
  80.     tif_next.obj \
  81.     tif_open.obj \
  82.     tif_packbits.obj \
  83.     tif_predict.obj \
  84.     tif_print.obj \
  85.     tif_read.obj \
  86.     tif_swab.obj \
  87.     tif_strip.obj \
  88.     tif_thunder.obj \
  89.     tif_tile.obj \
  90.     tif_version.obj \
  91.     tif_warning.obj \
  92.     tif_write.obj \
  93.     tif_win32.obj 
  94.     
  95.     
  96.  
  97. ALL=    libtiff.lib
  98.  
  99. all:     $(ALL)
  100.  
  101. %.obj : %.c
  102.     $(CC) $(CFLAGS) -c $*.c
  103.  
  104.  
  105. #.INCLUDE .IGNORE : depend
  106.  
  107. libtiff.lib: $(OBJS)
  108.      - del libtiff.lib
  109.      lib /OUT:libtiff.lib $(OBJS)
  110.  
  111.  
  112. #To include fax3 support, you need to modify mkg3states.c so it could run
  113. #under windows 95 or NT. This application make the file g3state.h.
  114. #after that, you have to add to the build script : tif_fax3.c and tif_fax3.obj
  115. #and define CCITT_SUPPORT in the file tifconf.h
  116.  
  117. #$(OBJS): tiffio.h tiff.h tiffcomp.h tiffiop.h tiffconf.h
  118. #tif_fax3.obj: tif_fax3.c g3states.h t4.h tif_fax3.h
  119.  
  120. #g3states.h: mkg3states.c t4.h
  121. #    $(CC) $(CFLAGS) mkg3states.c
  122. #    mkg3states -c > g3states.h
  123.  
  124.  
  125. clean:
  126.     del *.obj
  127.         del mkg3stat
  128.         del g3states.h
  129.  
  130. tags:    $(SRCS)
  131.     $(CTAGS) $(SRCS)
  132.